package autoz.core.util;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * This is not intended to be implemented.
 * @author jw
 *
 */
public abstract class FileUtil {
	public static void saveFileToDisk(String filePath, String fileContents) throws IOException{
		File outputFile = new File(filePath);
		FileOutputStream fos;
		if (outputFile.exists()){
			fos = new FileOutputStream(filePath);
			fos.write(fileContents.getBytes());
			fos.flush();
		}
	}
}
